Optimal. Leaf size=24 \[ -\frac {\sqrt {c x^2}}{b x (a+b x)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {15, 32}
\begin {gather*} -\frac {\sqrt {c x^2}}{b x (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rule 32
Rubi steps
\begin {align*} \int \frac {\sqrt {c x^2}}{x (a+b x)^2} \, dx &=\frac {\sqrt {c x^2} \int \frac {1}{(a+b x)^2} \, dx}{x}\\ &=-\frac {\sqrt {c x^2}}{b x (a+b x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 23, normalized size = 0.96 \begin {gather*} -\frac {c x}{b \sqrt {c x^2} (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 2 in
optimal.
time = 1.85, size = 39, normalized size = 1.62 \begin {gather*} \text {Piecewise}\left [\left \{\left \{-\frac {\sqrt {c x^2}}{b x \left (a+b x\right )},b\text {!=}0\right \}\right \},\frac {\sqrt {c x^2}}{a^2}\right ] \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.12, size = 23, normalized size = 0.96
method | result | size |
gosper | \(-\frac {\sqrt {c \,x^{2}}}{b x \left (b x +a \right )}\) | \(23\) |
default | \(-\frac {\sqrt {c \,x^{2}}}{b x \left (b x +a \right )}\) | \(23\) |
risch | \(-\frac {\sqrt {c \,x^{2}}}{b x \left (b x +a \right )}\) | \(23\) |
trager | \(\frac {\left (-1+x \right ) \sqrt {c \,x^{2}}}{\left (b x +a \right ) \left (a +b \right ) x}\) | \(27\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 16, normalized size = 0.67 \begin {gather*} -\frac {\sqrt {c}}{b^{2} x + a b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.29, size = 23, normalized size = 0.96 \begin {gather*} -\frac {\sqrt {c x^{2}}}{b^{2} x^{2} + a b x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.32, size = 32, normalized size = 1.33 \begin {gather*} \begin {cases} - \frac {\sqrt {c x^{2}}}{a b x + b^{2} x^{2}} & \text {for}\: b \neq 0 \\\frac {\sqrt {c x^{2}}}{a^{2}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 26, normalized size = 1.08 \begin {gather*} \sqrt {c} \left (\frac {\mathrm {sign}\left (x\right )}{a b}-\frac {\mathrm {sign}\left (x\right )}{b \left (b x+a\right )}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.16, size = 22, normalized size = 0.92 \begin {gather*} -\frac {\sqrt {c\,x^2}}{b\,x\,\left (a+b\,x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________